Skip to content

Moving conditional statement, if the locale resolver was not able to determine a locale#199

Open
shefik wants to merge 1 commit into
schmittjoh:masterfrom
shefik:master
Open

Moving conditional statement, if the locale resolver was not able to determine a locale#199
shefik wants to merge 1 commit into
schmittjoh:masterfrom
shefik:master

Conversation

@shefik
Copy link
Copy Markdown

@shefik shefik commented Dec 10, 2016

Moving conditional statement. If the locale resolver was not able to determine a locale, then all efforts to make an informed decision have failed. Just display something as a last resort. Avoids a possible exception, if the requested language is an empty string - JMS\I18nRoutingBundle\Exception\NotAcceptableLanguageException: The requested language "" was not available.

…determine a locale, then all efforts to make an informed decision have failed. Just display something as a last resort. Avoids a possible exception, if the requested language is an empty string - JMS\I18nRoutingBundle\Exception\NotAcceptableLanguageException: The requested language "" was not available.
@shefik
Copy link
Copy Markdown
Author

shefik commented Dec 10, 2016

Refs. zikula/core#3284

@acasademont
Copy link
Copy Markdown
Collaborator

Hi @shefik is this still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants